Moved JS references

JS scripts moved to end of html file.