Add dynamic property accesses to JavaScript