Simplify sourceURL code and ensure source maps work avoid compat issues.