add hack function of data.js that can custom headers