Downgraded Java to 1.6
Added HTML content support