add js solution to problem 15
add js solution to problem 16