removing old method in test sprite.html