use .ready() properly
changes to html