seperate js from html