added to application.js, reconfiged routes, and changed related hashtag controller to accept json requests