Added source map support.
Small fixes.