Fix mobile device html code