separate javascript from html