Added bulk send, bugfixes, possible support for IE9

cookie secure bugfix
save partial data in localStorage
send data at every 20 frames