Added detection for SCRIPT_DEBUG to load minified script conditionally

- issue #4