New js file structure