Cleanup on how BaseService checks environment
Move environment dropdown to the right of jslib, make it visible in java
samples page
use "environment" instead of "javaEnvironment"
Set up the ajax to allow environments in java. Will abstract some of
this to a common class in future to make it easier.
add stuff to enable ajax request of the java tree
This filter has a mistake.