Modified function
Fix added
Removed unnecesary functions
Function added: parseHTML()