fix javascript
add css to application
make teams the root page
use full json objects instead of name in js