Create InPain.js