add some javascript to play.html