remove RAF polyfill, add some comments