javascript, jquery, html, css and other minor fixes