Initial Attempt at adding javascript support

  NOTE: this code is very old.  The feature branch only exists to save
the top 1 or 2 commits.  This should be merged back into master at some
point.

Change-Id: I8e2d2f73b4c41ef682c8f8a9dae917ebf2dd6552