I have a model called **student**. I also have *form view*, *tree view* for the student model. What I want to do is call my custom javascript file only when the form view of the **student** model is loaded. Is it possible? How to achieve this? Thanks.

What I tried is .....

```
openerp.student= function (instance) {

instance.web.FormView.include({

    load_form: function(data) {
        var self = this;
        if (data.model === "student") {
            altert('HELLO');
            console.log('BLAH BLAH');
        }
        return this._super(data);
    },

});
};

```