Improve the sample's browser-side resources
Prevent NPE
Allow configuring the path's deepth via system's property
Make Jetty 9.1.0 + JSR 356 happy
Use released version
Fixes #1161