initial commit for creating functions in javascript