adding active classing to data router
adding camel case support to active page classing, gaurding against unsafe JS var names