luci-base: luci.js: get rid of global `L` references in internal classes