javascript string extraction, web UI update, sendPolicy, others