Align Java camelCase and JS camelCase functionality