JS work

Going to need some back end work. More todo.