JS coding style