changed raw js to DOM API
added link to jsdom/ slides