adding browserify, click listeners and overall debugging