5187: Fixed the issue that the javascript doesn't read the theme images from the subsite theme directory.