Adding js for pinnable menu