almost have the JS working, needs more spice