cleaning javascript

uppercase html tags converted to lowercase
removal of duplicated semi-colons and added few semi-colons
files saved as UTF-8 encoding with unix ending lines