Make mobile menu operate with JS