add javascript pollyfills