Add missing semicolon
Move `isNumber` up so it does not look like an implied global