IIRC, it's mostly the same dialog that was in the original script, which also made it into the comic and novelization.
I firmly believe Jabba is out of his gourd on some controlled substance in ROTJ, which might explain the difference in attitude. ;)