Added javascript review comments