https://xevio.us/2010/04/using-javascript-for-core-navigation-or-function-is-dangerous/
Using JavaScript for Core Navigation or Function is Dangerous