Requirejs integration with CakePHP