trying to fix the bug that prevent the recent messages gettting missedout on page refresh.

Revert "issues #12 on github is fixed."

This reverts commit 4a00014b97d25195f7c612148fd4ee4bc2176827.
Previous commit didnt fix the problem. Now try this on the dev.