tidying up of javascript and some styling
updated the log publishing tests
tidied up some of the upload handling ruby code