javascript internals