Update script.js

Added comments.
Update index.html

removed favicon due to missing image
Merge pull request #3 from outofmachina/calculate-functionality

Calculate functionality