How do I fix my data-filter going from 1.2 to 1.3?

How do I fix my data-filter going from 1.2 to 1.3?

Making a demo of this app I used JQuery 1.8 and JQM 1.2. Now that I want to get it ready for production I bumped the versions up and my data-filter stoped working.

I have a listview:
  1. <div id="listPlaceHolder" data-theme="a" data-role="listview" data-filter="true"></div>
After fetching some data I'm adding an accordion to it using handlebars:
  1. <script id="event-template" type="text/x-handlebars-template"> 
  2.                     <div class="dataitem" data-role="collapsible" data-inset="false" data-collapsed="true" data-collapsed-icon="noshow" data-expanded-icon="noshow" data-eventid="{{id}}">
  3.                         <h3> ...
And then:
  1. $('.dataitem').collapsible();
This used to work but now I can't get the filter to work. I've tried adding:
  1. $('#listPlaceHolder').listview('refresh');
... without luck.

Really greatfull for ideas on how to get the filter working.