HTML5 and Clearing functionality added