Reworked dynamic call mechansim in JS cross compiler.