JavaScript Testing and Notes