Update async_J.js

updated delay() to have a valToResolve.  New usage is delay(ms,someVal) returns a promise that fulfills with someVal after ms milliseconds