Add jquery
Migrate logout.js to jquery