added comment to js