playing with doi and jquery