getAttribute for datasource URL instead of hardcoded paths in JS