Minor JavaScript Updates