Default Downgrade bootloader MJ9 to DMG1

I'm using a custom 4.3 ROM, and I flashed MJ9 bootloader. I would like to go back to 4.1 custom ROM, and flash DMG1 bootloader. Is there an way to do this without lose my IMEI?