moved deferred.js to gamedev-lib