js Lint & hinted prototype 1 script file, refactor/cleanup