separate js from html