First commit.  File moved from js-utils repo