moved alert to its own requirejs module