added div#element to index, changed script tag to reference src

As a newbie, these changes clear things up a bit.