reformat for better indentation; add slash to src in browser js script tag