a javascript baseline implementation, contains many polyfills.