Fixed to connect on port 8080. previous version did not seem to connect when using the veriable htmlfile.
Adding Responsive Design and CSS Styling using Twitter Bootstrap.