Now works in JS context!
(Also removed [] operators support.)