JS: Functions, hello world, arrays