javascript boolean function naming convention