Toggle done in AJAX coffescript in ugly way