mainjs and other