Update extract.js

changed dates, start from 0