testing deferred js