Passing Javascript varibales to Ruby on Rails controller via Cookie, live example