More genericVL patches.
Update the JS to be a little more VL friendly.
Merge pull request #20 from terryrankine/moreGenericVL

More genericVL patches.