Remove unwanted html props from div