web: Type-cast inputs (fixes #130)
web: Type-cast inputs (fixes #130)

DIYBookScanner/spreads,adongy/spreads,gareth8118/spreads,DIYBookScanner/spreads,miloh/spreads,DIYBookScanner/spreads,nafraf/spreads,nafraf/spreads,adongy/spreads,gareth8118/spreads,miloh/spreads,nafraf/spreads,gareth8118/spreads,adongy/spreads,miloh/spreads