JS: fixed context menu selection
file manager setup moved out from constructor to init() method