Moved html into JS files