models and cake to application.js