Fixed escape html function in js utils.