Rewritten storeViews function

The reasons for this rewrite:
 - Ajax requests are not async (slow)
 - Extra use of html_dict object

Other changes are:
 - Changed variable names to camelCase
 - Moved supportStorage function out (useful)

Current bugs & problems:
 - localStorage keys not set correctly
 - Page does not render on link click