menufier function added to app js