Chroma.js

vs the original
  var chroma = new Chroma()
  chroma.chromaKey(document.getElementById('my_image'));