Added JSHint hints to avoid problems with badly-named functions in when.js.