fix JS dim extraction null handling + test case
Merge pull request #321 from metamx/js-dimextraction-null-fix

fix JS dim extraction null handling + test case