Fixed some JavaScript errors. Added Animatic to the build