Add build JS for sprites.