Server bug fix & Minor jQuery client changes

Server -> Fixed an issue when sending wrong JSON in POST
jQuery Client -> hide the result div on page switch évent, and display
it only when an action is performed