consistent naming with js