updated raf.js to gain better performance