silly javascript namespacing producing stupid errors
jesus i miss compilers
skeleton commonRoutes function