Update coin.js

Changed head node locating code to take care of https://github.com/scottycc/coinwidget.com/issues/4