added advanced.js