Default to port 80
Move HTML from ss.php to view
Tidy up JS / Move HTML from ss.php to view