moved html content from js to partials