First commit for a basic javascript program
Added README and index.html
Altered implementation and tests
Refactoring js