Library and simple plugin system for supporting arbitrary javascript dialects in your tool