a little code cleanup in keke.js