some jshinting