Fixed escape problems with js