follow the example in tutsplus 30 days jQuery