Moved all JS to separate files.
Fixed templating.
Changed text input to number input in information section.