IE8 support - document.head does not exist

However if document.head does not exist neiter does dataset

Fixes #1
Release 0.2.3