trying to get the back button in browser to work dynamically with cowboy.js