javascript: optimize scope functions
javascript: optimize assignments
javascript: faster lookup tables