Change js functions name to camel case