added picture click ordering

All tests now pass.  First coffeescript added.