Readme file updated

JS tidied up a bit too