Basic function.js split