Descramble a scrambled (doh!) image in javascript. And by javascript I mean coffee script.