function js workshop tasks