Add api.js to each html page