bControl is optional html node
Use original image for thumbnail if thumbnail source is null
Copy caption to alt attribute
Mocha tests