Fixed jshint problems with confirmController