file structure of JS code