run the code through jsformat