a few js updates right now

just getting familiar with the code