Improved support to python3
Updated html5 transform test to support python3