remove some old misc.coffee code