Should this be `var createOpenLayer = function(title, url) {`?