remove useless dependencies
Glassfish (perhaps JEE in general) doesn't like PostConfigure methods to throw exceptions
Format and clean up index.html
Remove separate custom view provider interface