adding prototype trim as fallback for IE8
fixing javascript errors IE8 in user management