added cdnBasePath option