UMD header

Also uses jsdom for jQuery server compatibility.