If the boss is a jerk, get over it. First of all, don't you think there's a good chance that your boss's boss knows what's going on? If so, just keep your head down and do the work. Usually, if you put in maximum effort and produce excellent results, someone in the company is going to take notice. Either you will get promoted or your jerky boss will get the heave-ho. It happens all the time.