Modified $.post to $.ajax
Added missing semi colon
Removed print statements
Merge pull request #229 from hasgeek/228

Modified $.post to $.ajax