Add JavaScript implementation of formatting