updated to new version

updated with latest versions of libraries;
html refactored using JsRender;