refactoring jdxreader.js changes
added more shell functionality