Moved query variable into it's own variable
Renamed menu javascript appropriately