Javascript Functions and methods I've made for fun and/or for practice