Fixed error that was being thrown in FireFox 3.x. Fixes #112
Removed AMD support.  Fixes #109  Ref #56.