added back the parenthases and changed order in which js files were loaded