Using nej to create errorbox and tipbox