separated js file