Updates JS prompt examples
Fixes JS do while syntax