Html5 frame grabber to make videos from javascript animations