add dotenv vars and update market.js file to use erb

Conflicts:
	Gemfile
	Gemfile.lock

add dotenv vars and update market.js file to use erb