Fixed script paths to not be relative to the current page.