remove unused newState
change the way to calculate fps
ie compatiable customevent
use requestAnimationFrame for rendering
section rename
fps counter uses time from requestAnimationFrame