add access to $idx and $len variables in @js expressions
enable tests from direct access to $idx and $len variables