new namespace helper, bug fixes ie10, refactoring