mainjs changed