Removed whitespace errors from javascript files