Completed JS and added template

HTML5Bolierplate