jshinting fixed