Little hack to preserve javascript data between requests.