add js solution to spiral diagonals (problem 28)