Create PageJavascript