Added javascript comments