wrap fiori master-detail app javascript in anonymous functions so as to not pollute global namespace