Enable jscs for OOjs UI repo

Configuration imported from the VisualEditor repo. Also make some minor changes
to ensure that we actually pass it.

Change-Id: I0deb3cc4a9381aeaaa306ea46962020ed23867b8