Update pnotify.core.js

IE8 does not support for-in loops. Change the for loop to fix IE8 bug.