Make val::operator() compatible with asm.js