adding data-path attribute on common.js