udpated html
refactored javascript
added equations