Fix sourcemaps; Improve WebModule implementation