Enabled debugging
Added method isAustralisUI(), and use JavaScript String.trim() instead of utils method (to simplify the code)