Adding the apply method on the callback invoked
Adding the loopfunc configuration on JSHint
add callback standard and improves on visual of example page