Clarity in is_float and is_int (fix jshint warnings)