Converted dominos.js to drop-in format