wmctrl not working in crontab

I'm using Linux (Ubuntu). I use wmctrl to make the firefox window always on top. And it worked FINE when I run the shell on a terminal. Here is my shell code (say that it was /usr/app/keepfront.sh...