make sourceMap optional, defaults to false