Add hint filter options UI and descriptions, move constants to constants.js.