added sharing widget, fixed static file paths, moved main.js content into issue template