cleaned up some old js