change play_new.js:code refactor