Base code for jslix.disco module.