minor improvements to default values
use minified script if not in debug mode