MDL-43977 theme_bootstrapbase: small fix to make custom menu work with JS disabled