deleted advance javascript