Hacky fix for making sure $ (jquery) is set when using browserify. Pretty sure this is needed because of my own incomplete understanding of how browserify works.