HTML5 Local Storage in Ruby gem