Changes to js splitter