Turn String Into Int Javascript Array Filtering In Google