new js for blocking click at menu