adding fannkuchredux for js