1. javascript function: block-level functions