Add js rootPath back