Clean up and make JSHint pssing
Clean up and make JSHint pssing

* Move translate() out of the if-block, no need to re-define
* `else` after return in `if`
* update js coding style
* remove bogus '=' in comment
* line-wrapping of long arrays

wikimedia/jquery-client