Enable usage in mobile devices

Hello,

currently Jmail is unusable on mobile devices. We have made a modification to enable usage on phones and tablets. 

Tested on Google Chrome and Firefox for Android.