if we can't parameterize worker, then maybe let's keep path prefix, or path format string in the window object, so that we could set its value from our Scala templates