Added jquery + some templating of the main page