[Author] Updated HeadJS (fixes)

reverted some breaking changes
Merge pull request #2140 from headjs/master

[Author] Updated HeadJS (fixes)