compiled JS for mapper