fix js codekit bug charcoal