Could you use triple equal (===) on comparison and the short way !$(this.opt.targetScore).length?