An implementation of crazy cat using EaselJS