small changes to thread.js
Merge branch 'master' of https://github.com/jinslee/418-final
Merge branch 'master' of https://github.com/jinslee/418-final
Merge branch 'master' of https://github.com/jinslee/418-final
fixed math in thread js