js tidied for day app, second commit