advanced javascript download