Deleted menu element and fixed bug JS code