fixes #951

fixes #951:
* added es3 config option
* made es5 the default
* added info warning if es5 is set
* added function to encapsulate version state