write sourcemaps only if enabled in config
fixed wrong pointer to sourceMap flag
Merge pull request #572 from plepers/sm_fixes

Don't write sourceMap if disabled in config