ouch nearly i broke stuff
fixed javascript spelling