Minor context fix
Refactoring
Adds Nashorn support. Fixes #55