[TIMOB-12127] Upgraded Uglify from v1 to v2. Added uglify error handling...

... to mobile web's build.