Below is a simple file splitter implemented in JavaScript.
To see the code or to make a comment, visit https://thiscouldbebetter.wordpress.com/2016/10/06/a-file-splitting-utility-in-javascript.