just fixing formatting of js code + removing unneeded line breaks