Basic sourcemaps support

I misunderstood this function, it's ok :)