Updated javascript due to javascript on zero length url returns.
Handle a Null return in javascript instead of comparrison logic in javascript.
Merge pull request #67 from zenoss/feature/javascript-fix

Updated javascript due to javascript on zero length url returns.