Finished functions.js cleanup. Removed accidental input from index.html.