add deferred test js