updated to version 4.1 - new logging toggle feature, updated namespace for unified JS framework, removed old functions