Add example of structure of js file