cleaned up raf.js module