Update ProfilistWorker.js

modularized getwindowprop and trying to make it getwindowtype but not able to. got it returning icon