feat: run unit tests with PhantomJS

3 features are currently missing in PhantomJS and that's why the tests were failing. I added the polyfills for requestAnimationFrame, bind and CustomEvent and it works !
`PhantomJS 1.9.7 (Windows 8): Executed 100 of 110 (skipped 10) SUCCESS (0.412 secs / 0.438 secs)`