added es5 shim for phantomjs testing