Adding more defs

Trying to match web.js, syntax conversion still imperfect and needing
review