add a warning if we have no javascript

it is needed e.g. for the IP address detection and also other functions.