Fixed a bug with CSS/JS when port is not 80

The library would not correctly look for the CSS and JS files (used by
the debug console) when using a port other than 80; thanks to Gabriel
Moya!