Leetcode Shortest Path String Escape Javascript Compiler