JavaScript Required for menu activation