Practiced splice,sort, pop, and push w Javascript

manipulating_arrays_js.html
linked to manipulating_arrays.js
Practiced using splice, push, pop, sort w Javascript

js/manipulating_arrays.js
linked to manipulating_arrays_js.html
Refactored and simplified if statement and variables.