moved warnings/errors out of HTML page