Fix code style, so JSHint is happy.

Please double test, because I have no way of testing the extension itself.