I've seen sometimes multiple UserScript.js files in the $FMW_HOME, can you try locating and changing all the files?
In addiction sometimes browser cache deletion helps.
Thanks for your reply Francesco, We were able to see obiee default functions initially but after clearing cache - even those are not visible now.
We currently modified the below files.
If you can't see the default functions I believe this means that the UserScript.js file is somehow corrupted.
My suggestion is to restore the original UserScripts.js and retry.
In case you are working from a Win platform into a Linux server, verify that you're not introducing special characters in the file that may corrupt it.
In this case I've see that copying from the website in a text editor (like Notepad++) and then use vi command provides the best results