Javascript Escape Apostrophe In String In Java