Adding page-scope javascript function addPageJavascript (used to write global helper functions to be used in JS validation and JS actions)