added jshinting