cockpit.js — Basic cockpit API to interact with the system
cockpit.js should be loaded via a script tag.
cockpit.js
<script src="../base1/cockpit.js">