add documentation for nodecallbacks, use strict