Added new algorithms for getting the next scenarios;
Removed instanceof calls - all comparison is done on a higher level - this is because trying to execute Firecrow in Chrome (which creates new internal functions for i guess each iFrame, which means that i can not use intanceof with built-in objects)