jquery is lowercase, and better treatment of null in get and post methods