web: Rename $cockpit.xxx to cockpit.xxx

Since $zzz is often used to indicate a jQuery selector, and
the usual convention is for global API like document.yyyy
or window.vvv is just in lower case.