Php Function Within Function Javascript Example Questions