Avoid escaping / in javascript except for </

This avoids, for example, having url's in javascript whith \/ instead of just /