updated to reflect issue #14 fix in non minified version