still can figure out why js doesn't work