Fix Javascript syntax errors

Fix for Javascript sytax errors in Firefox 31.1.0. The sytax errors prevent
the web GUI from working (especially adding new packets).
ClickNLoad: Add configuation option for more server port coniguration flexibility

When using the fastcgi configuration the webserver port is not the port
that is used for the browser communication but the port is used for the
fastcgi communication with the webserver. The webserver has the final
port configuration. The ClockNLoad plugin wants to forward requests via
the web port. With fastcgi this must be explicitely configurable.