Add lecture notes on functions-in-javascript.md