Updated the coffescript to be a bit cleaner.