templates for string replacement for uri and js filename