Test in PhantomJS using Karma to verify browser compatibility