Got the example working that I was getting javascript errors on.