add compiled JS for browser compatibility