js-beautification, jshinting, removing some unused stuff
some more semicolons