Pull applyMarkup out of fimg.onload

This line never gets hit. It works fine without waiting for
fimg.onload. The only reason it would fail here is if there were
Node dependencies missing.