using below code checkbox is created
var checkbox = document.createElement('checkbox')
After creating checkbox you need to append to your page to display checkbox
document.getElementById(parentElementId).appendChild(checkbox);
Hope it will work for you
Enjoy..11