[javascript] Add notes about ASI. Closes #424.