JComments fix.

Fixed JavaScript anti spam test for JComments.
Fixed sender IP detection logic.