javascript migration patch-up
Merge pull request #175 from ethn/jsmigrate

Jsmigrate