diab.js(updated on 27 july 2013)