refactor, es5 and removed compatibility with old jquery versions