replaced unnecessary html() calls