Fix possible charset problem with uglifyjs
Optimize entity.boundingRect
Fix header code in remote client