fixing jslint issues for transit-prompt.js