Added javascript and fixed the Html helper