Updates to Ajax +some fixes

Note about AJax: Made a way to work if javascript is disabled