more js tweaking

.value to .data()