Embed environment variables outside of assets

Moves environment variables that are accessed via asset ERB file to
instead be embedded in the webpage and retrieved at runtime.