Fix #178: Add sourcemaps support

Follow-up of the #178 discussion.