fixed PR issues, forked jquery-cookie component to retsly repo