add Mode variables and remove application.js
Removing excess baggage