updated JavaScript and HTML notes