carousal, jqm, data model related code.