added gem gon to pass JSON from ruby to JavaScript