Converted some of the javascript to jquery, changed some text