make instanceof work also if no prototype is given
switch parameters 'extend' and 'prototype'