This procedure is a way to not show comments and/or work notes for Mobile without changing views.
Create ACL's to disallow write access for all 3 journal fields you have on the form if it's in Mobile.
Then in the script, you will do something like this:
answer = false;
answer = true;