escape all single quotes in javascript