Added javascript/syntax fixed typos