[TIMOB-14365] if there are javascript error put up a modal red alert window displaying...

... error info