Additional fixes

Adjusted JS output, formatted validation messages & added minimum values
to input elements of type number.