To make your HTML and JS files available to the HAM Web Console Plug-in, pack them in a Fragment bundle by executing the following steps:
Fragment-Host: com.prosyst.mbs.services.ham.webconsole
You do not need to start the bundle, after you install it.
On success, you will be able to handle commands or conditions of the custom type in a user friendly manner from the Home Automation page of the Web Admin Console.