Added jquery for offline work (to work while in fight), setting cookies with JS.