added es5 shim and fixed test runner