Fix bug when JSNotEmpty doesn't have parameter