Now with upper and lower end

Default values for calculation on index.html not working