UPDATED: Integration of AdapterJS 0.9.0 in demo and code.