Some formatting and jshinting