added ratchet.js and header back in