separate js file from html