Added more parts of missing support for type given as array.

Conflicts:
	jjve.js