String replace method works differently on JVM and JS, in JVM to write dollar, it should be escapted with backslash. In JS dollar char should escaped with another dollar char: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace#Specifying_a_string_as_a_parameter
String replace method works differently on JVM and JS, in JVM to write dollar, it should be escapted with backslash. In JS dollar char should escaped with another dollar char: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace#Specifying_a_string_as_a_parameter