Trying to get html.erb to work with phonegap