Updated play.js to remove alert windows