removing ap.js