cleanup core js comments