Added support for loading external resources
bug fix
Added support for HTML compress