adding aps.js