changed history object to a javscript common array from Immutable.List. Don't think it's required in this case