Re-factored code - broke out UI JS from functions
Function to get the CIDR from the number of hosts field
Separated out the UI code
Minor bug fixes
More updates to the results section based on input