Seperated js from html in files