add path prefix to rendered javascript files