Numpy Assign Value To Variable In Javascript