Add small fix for source maps
Merge pull request #775 from mgreter/fix/source-map-771

Add small fix for source maps
Use chunk parser for url parsing

Seems to get to job done better than before!