added firebase chat to index.html to test firebase connection
rearranged order of script files in index.html