correct page.sh errors & .sh/.js errors in plugins