Move caching to relay.html when using crossdomain
Merge pull request #262 from fsimeon/master

Fixes #217: localStorage caching on relay.html file