Making and altering Javascript functions for practice.