Refactored splice to make it dynamic

js/manipulating_arrays.js
Practiced joining and splitting in Javascript

js/join_split.js
linked to join_split_js.html
Practiced splitting and joining Javascript

join_split_js.html
linked to js/join_split.js