Moved alerts to use WebIDL