added es5-shim for less ie8 compability and some couple of bug fixes