load lucos core using common js syntax, rather than relying on global scope