Changes to make jjve work in internet explorer 8.
Merge branch 'changes-for-ie8'
Added missing support for type given as array.
Merge branch 'adding-support-for-type-array'