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