Javascript function that uses Pascal's triangle and combinatorics to calculate nth Fibonacci number.