Fix camelcasing actions in javascript