fix bug and optimze code

1.fix when sound is playing and upload another file the title bar not
upgrade correspondly
2.cancel the requestAnimation everytime you load a new file to reduce
CPU cost