Escape chars for javascript