However it was working on other Android devices but was not working in Samsung Galaxy S4 with Android 4.3. It was not working in native internet application or Chrome in that device.
var element = document.getElementById('modifier');
var element = document.getElementById('modifier_');
var parentNode = element.parentNode;
parentNode.innerHTML = parentNode.innerHTML;
This line parentNode.innerHTML = parentNode.innerHTML does the magic. It's kind of refreshing the UI. It's really really stupid solution. But it solved this issue.
I don't know the reason why this issue was only on that device. So if you have any idea on this, please comment here. And if you ever encounter such issue, try using my solution.