added: can use details_X.js file for code to load only in details view. changed: form_X.js only loads in form view