functional javascript migration from ui5_shell_boilerplate