Ajax POST method options added and identation fix