JavaScript OSGiPortal client implementation part.