add simple_format & remove ratchet js