why javascript in web development