Updated JavaScript casing

Follows https://github.com/cakephp/cakephp/pull/1681