Added JS and CSS to main template