apply gjslinter suggestions

I tried to run the gjslinter on our codebase and this is the result.
I think it would be nice to adhere to a style guide for our code and gjslinter can help us to do it.
@camd @jeads let me know what you think about it