Create mercuryDoom.js

Mercury function.