Remove unneeded custom proxy
Removed outdated reference pointers
simplified and removed unneeded comments
Re-write for simplification and improved execution. Added support for popstate backbutton hookup