Check if dataset exist on `head` node

document.body migth not be present if scripts are loaded in <head/>
Release 0.2.2