Fix on syntax for javascript.
Polyfill to deal with PhantomJS' missing support.
Working lightbox tests.