solved some problems with js way of showing errors