Handle endsWith call in ClojureScript.
Handle startsWith call in ClojureScript.
Handle java.net.URL in ClojureScript.
Workaround differences in regex evaluation.