added some JS, but it doesn't work yet