defer javascript loading test