made changes to javascript in order to bring things together
bring shensi and ian changes together
my changes to index.js
merged changes