Clean up JS whitespace