[includedeck] fix/workaround for head.js not invoking the callback when the last element is a css file