Small cleanup of javascript files