add advanced js