Move script tag to just above closing </body> tag

Also adjust indents