Update SP11_migration_repair.js

Minor edits to exception handling, and deleted an alert left over from
testing.