Work with models in your JavaScript