Update jquery.cookie and spin.js to support TS 0.9

Replaced deprecated bool type with boolean