Avoid escaping / in javascript except for </