Cross platform environment variables with process.env, window.name, location.hash and localStorage fallbacks