index.html: fixing min/max implementation

Signed-off-by: Omer Kremer <okremer84@gmail.com>