Update WebgisInit.js

Added call to customAfterPrint() on afterprint signal