rm unused js refs