Added simplexml/ready instead of relying on jQuery on body load.