Bring in loops and args for JS blocks

Test Plan:
lol