properly shim and load gif.js worker