Update main.js

Make bugs open a popup.