Menu now changes active context, removed redundant code from JS