Changed default value for callback option to empty function instead of undefined