refactored configs to reside outside of sherpa.js into assets/config/global_config.js
refactored counter function to be inside Sherpa namespace.