react.js on server-side java (with rhino or nashorn)