title: Codename One Javascript port: get host and port
body: <p>Is there an easy way in a Codename One app built as Javascript to get the current host and the port, without implementing a Javascript native interface?</p>