This looks like coffee-generated JavaScript - let's have it be more human-friendly.