Format the example as JS