added js and changed a bunch of stuff