Skeleton for a scala/java Webstart application (server is node.js just to be confusing)