multiple alerts in registerar.js 14