postMessages for show/hide loader