use jQuery .attr() to assign img src, not document.getElementById
initial skeleton implementation of parseConfig for fcav.js