Fix dependencies and split.js

Fix dependencies and split.js