Render file name and position in errors from JS library stubs