think i got JS working now