since type is optional in HTML5, i thought of removing them, has nothing to do with the issues though