Adding JS-script to log out.