Some JavaScript Notes