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