Android JavaScriptCore Java example: implement lazy loading for constants

Implement lazy loading and disposal for constants