Fixed mixed spaces and tabs.
Fixed inconsistent new lines at end of file for client-side scripts.
Fixed missing semicolons and inconsistent new lines in client-side scripts.
Fixed mixed single and double quotes.