remove useless code in facejs