add security interface
remove javascript config
fix  unit tests