got js and jquery working (mostly)