Added DOM exercises in JavaScript