The alert is saying undefined.
You have to define the variables globally, outside the function, to alert the value without invoking the function....
Where is the rest of your script, the function, variable definitions (misc, dairy), etc.
"God so loved the world that he gave his only begotten son, so that whosoever believed in him would not perish, but have everlasting life. For God did not send his son into the world to condemn the world, but so that through him the world might be saved. "