Fixed template, added new pages and integrated jquery