Example generating Javascript with Sunroof on Snap and acid-state.