final TagService tagService = TagService.getInstance();
JSONRPCBridge.getGlobalBridge().registerObject(tagService.
getServiceObjectName(), tagService);
final PluginService pluginService = PluginService.getInstance();
JSONRPCBridge.getGlobalBridge().registerObject(pluginService.
getServiceObjectName(), pluginService);
} catch (final Exception e) {
LOGGER.log(Level.SEVERE, "Register remote JavaScript service error",
e);
throw new IllegalStateException(e);