split history.js