Joe - format js code