Fixed some mistakes in crispimage.js