Added 'isBetweenNumbers' and 'hasClass'