Created new javascript file for class
Added content to index.html and javascript file