Properly escape a backslash in a js string